package com.dao;

import com.model._do.login_do.LoginStatusDO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.Date;

@Repository("userAccessDAO")
public interface UserAccessDAO {

    public void addNewStatus(LoginStatusDO loginStatusDO);

    public LoginStatusDO getByCustomCode(String customCode);

    public void flushStatus(LoginStatusDO status);

    public LoginStatusDO getByOpenId(LoginStatusDO statusDO);

    public LoginStatusDO getByCustomCode(LoginStatusDO statusDO);
}
